.class public Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/b;
.super Ljava/lang/Object;
.source "LongPressTracker.java"


# instance fields
.field private a:I

.field private b:I

.field private c:Z

.field private d:Z

.field private e:J

.field private f:J


# direct methods
.method public constructor <init>()V
    .locals 2

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const-wide/16 v0, 0x0

    .line 2
    iput-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/b;->e:J

    const-wide/16 v0, 0x1f4

    .line 3
    iput-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/b;->f:J

    return-void
.end method


# virtual methods
.method public a(Landroid/content/Context;Landroid/view/MotionEvent;)V
    .locals 9

    .line 1
    invoke-static {p1}, Landroid/view/ViewConfiguration;->get(Landroid/content/Context;)Landroid/view/ViewConfiguration;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/ViewConfiguration;->getScaledTouchSlop()I

    move-result v0

    .line 2
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getX()F

    move-result v1

    float-to-int v1, v1

    .line 3
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getY()F

    move-result v2

    float-to-int v2, v2

    .line 4
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result p2

    const/4 v3, 0x0

    if-eqz p2, :cond_6

    const/4 v4, 0x1

    if-eq p2, v4, :cond_5

    const/4 v5, 0x2

    if-eq p2, v5, :cond_0

    const/4 p1, 0x3

    if-eq p2, p1, :cond_5

    const/4 p1, 0x5

    if-eq p2, p1, :cond_6

    const/4 p1, 0x6

    if-eq p2, p1, :cond_5

    goto :goto_0

    .line 5
    :cond_0
    iget-boolean p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/b;->c:Z

    if-eqz p2, :cond_1

    goto :goto_0

    .line 6
    :cond_1
    iget-boolean p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/b;->d:Z

    if-eqz p2, :cond_2

    goto :goto_0

    .line 7
    :cond_2
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v5

    iget-wide v7, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/b;->e:J

    sub-long/2addr v5, v7

    iget-wide v7, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/b;->f:J

    cmp-long p2, v5, v7

    if-ltz p2, :cond_3

    .line 8
    iput-boolean v4, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/b;->d:Z

    .line 9
    invoke-static {p1}, Lcom/esfile/screen/recorder/utils/k;->a(Landroid/content/Context;)V

    goto :goto_0

    .line 10
    :cond_3
    iget p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/b;->a:I

    sub-int/2addr p1, v1

    invoke-static {p1}, Ljava/lang/Math;->abs(I)I

    move-result p1

    if-gt p1, v0, :cond_4

    iget p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/b;->b:I

    sub-int/2addr p1, v2

    invoke-static {p1}, Ljava/lang/Math;->abs(I)I

    move-result p1

    if-le p1, v0, :cond_7

    .line 11
    :cond_4
    iput-boolean v4, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/b;->c:Z

    goto :goto_0

    .line 12
    :cond_5
    iput-boolean v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/b;->c:Z

    const-wide/16 p1, 0x0

    .line 13
    iput-wide p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/b;->e:J

    goto :goto_0

    .line 14
    :cond_6
    iput v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/b;->a:I

    .line 15
    iput v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/b;->b:I

    .line 16
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide p1

    iput-wide p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/b;->e:J

    .line 17
    iput-boolean v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/b;->d:Z

    :cond_7
    :goto_0
    return-void
.end method

.method a()Z
    .locals 1

    .line 18
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/b;->d:Z

    return v0
.end method

.method b()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/b;->c:Z

    return v0
.end method
